import request from '@/utils/request'
import {
    commercialApiUrl,
} from '../config'
// 分包分供预计效益分析列表
export function getList(data) {
    return request({
        url: commercialApiUrl+`/benefit/analysis/list`,
        method: 'post',
        data
    })
}

// 统计
export function getListCount(data) {
    return request({
        url: commercialApiUrl+`/benefit/analysis/count`,
        method: 'post',
        data
    })
}
// 保存效益分析
export function addList(data) {
    return request({
        url:commercialApiUrl+ '/benefit/analysis/save',
        method: 'post',
        data
    })
}


// 获取信息
export function LookList(data) {
    return request({
      url: `${commercialApiUrl}/benefit/analysis/query/${data.id}`,
      method: 'get',
    })
  }